package com.lianqi.emcpframework.design.support.aggregate;

import com.lianqi.emcpframework.design.support.AbstractEntityDto;

import lombok.Data;

/**
 * @program emcp-domain-design
 * @ClassName AbstractAggregateDto
 * @description: 抽象聚合根dto
 * @author: sky
 * @create: 2019-06-12 20:07
 */
@Data
public abstract class AbstractAggregateDto<T, ID> extends AbstractEntityDto<T, ID> {

    protected AbstractAggregateDto(AbstractAggregate<T, ID> source) {
        super(source);
    }

    protected AbstractAggregateDto() {}
}
